[INFO] cloning repository https://github.com/Noah-Kennedy/data_structures
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah-Kennedy/data_structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a649cc7d69a397d7ac7bd381f94acfd30cfe198e
[INFO] checking Noah-Kennedy/data_structures against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Noah-Kennedy/data_structures on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Noah-Kennedy/data_structures
[INFO] finished tweaking git repo https://github.com/Noah-Kennedy/data_structures
[INFO] tweaked toml for git repo https://github.com/Noah-Kennedy/data_structures written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Noah-Kennedy/data_structures already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d2c0058cd44238cc32b6c7c6de950e45b4296a1cb07f7fc7aa64c1b5ef2228c6
[INFO] running `Command { std: "docker" "start" "-a" "d2c0058cd44238cc32b6c7c6de950e45b4296a1cb07f7fc7aa64c1b5ef2228c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d2c0058cd44238cc32b6c7c6de950e45b4296a1cb07f7fc7aa64c1b5ef2228c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2c0058cd44238cc32b6c7c6de950e45b4296a1cb07f7fc7aa64c1b5ef2228c6", kill_on_drop: false }`
[INFO] [stdout] d2c0058cd44238cc32b6c7c6de950e45b4296a1cb07f7fc7aa64c1b5ef2228c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 601040aa1f451dbad25222ef3db87e75b676214f43eeedfc8e7f6b775a4e0516
[INFO] running `Command { std: "docker" "start" "-a" "601040aa1f451dbad25222ef3db87e75b676214f43eeedfc8e7f6b775a4e0516", kill_on_drop: false }`
[INFO] [stderr]     Checking data_structures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/lists/linked_list.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         loop {
[INFO] [stdout] 20 | |             match iterator {
[INFO] [stdout] 21 | |                 None => {
[INFO] [stdout] 22 | |                     let new_node = ListNode {
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             }
[INFO] [stdout] 33 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |           true
[INFO] [stdout]    |           ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/lists/linked_list.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         loop {
[INFO] [stdout] 20 | |             match iterator {
[INFO] [stdout] 21 | |                 None => {
[INFO] [stdout] 22 | |                     let new_node = ListNode {
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             }
[INFO] [stdout] 33 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 34 |
[INFO] [stdout] 35 |           true
[INFO] [stdout]    |           ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/lists/linked_list.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let result = true;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/lists/linked_list.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let result = true;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` which is behind a mutable reference
[INFO] [stdout]   --> src/lists/linked_list.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut iterator = self.head;
[INFO] [stdout]    |                            ^^^^^^^^^ move occurs because `self.head` has type `&mut Option<ListNode<'_, E>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut iterator = &self.head;
[INFO] [stdout]    |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` which is behind a mutable reference
[INFO] [stdout]   --> src/lists/linked_list.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut iterator = self.head;
[INFO] [stdout]    |                            ^^^^^^^^^ move occurs because `self.head` has type `&mut Option<ListNode<'_, E>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut iterator = &self.head;
[INFO] [stdout]    |                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 23 |                         next: & mut None,
[INFO] [stdout]    |                               ------^^^^
[INFO] [stdout]    |                               |     |
[INFO] [stdout]    |                               |     creates a temporary value which is freed while still in use
[INFO] [stdout]    |                               this usage requires that borrow lasts for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 27 |                 },
[INFO] [stdout]    |                 - temporary value is freed at the end of this statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 23 |                         next: & mut None,
[INFO] [stdout]    |                               ------^^^^
[INFO] [stdout]    |                               |     |
[INFO] [stdout]    |                               |     creates a temporary value which is freed while still in use
[INFO] [stdout]    |                               this usage requires that borrow lasts for `'a`
[INFO] [stdout] ...
[INFO] [stdout] 27 |                 },
[INFO] [stdout]    |                 - temporary value is freed at the end of this statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `element`
[INFO] [stdout]   --> src/lists/linked_list.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                          ------- move occurs because `element` has type `E`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |                         value: element
[INFO] [stdout]    |                                ^^^^^^^ value moved here, in previous iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `element`
[INFO] [stdout]   --> src/lists/linked_list.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                          ------- move occurs because `element` has type `E`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |                         value: element
[INFO] [stdout]    |                                ^^^^^^^ value moved here, in previous iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 26 |                     self.head = &mut Some(new_node);
[INFO] [stdout]    |                     -----------------^^^^^^^^^^^^^^- temporary value is freed at the end of this statement
[INFO] [stdout]    |                     |                |
[INFO] [stdout]    |                     |                creates a temporary value which is freed while still in use
[INFO] [stdout]    |                     assignment requires that borrow lasts for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 26 |                     self.head = &mut Some(new_node);
[INFO] [stdout]    |                     -----------------^^^^^^^^^^^^^^- temporary value is freed at the end of this statement
[INFO] [stdout]    |                     |                |
[INFO] [stdout]    |                     |                creates a temporary value which is freed while still in use
[INFO] [stdout]    |                     assignment requires that borrow lasts for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get(&self, index: u64) -> Option<E> {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get(&self, index: u64) -> Option<E> {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_value`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_value`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn remove(&mut self, index: u64) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn remove(&mut self, index: u64) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `data_structures` (lib) due to 5 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `data_structures` (lib test) due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "601040aa1f451dbad25222ef3db87e75b676214f43eeedfc8e7f6b775a4e0516", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "601040aa1f451dbad25222ef3db87e75b676214f43eeedfc8e7f6b775a4e0516", kill_on_drop: false }`
[INFO] [stdout] 601040aa1f451dbad25222ef3db87e75b676214f43eeedfc8e7f6b775a4e0516
